
using AutoMapper;
using Yozeev.BusinessLogic;
using Yozeev.BusinessLogic.Dtos;

namespace Yozeev.BusinessLogic.Mapper
{

	/// <summary>
    /// 配置TicketUserEnable的AutoMapper
    /// </summary>
	internal static class TicketRoleMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap <TicketRole,TicketRoleListDto>();
            configuration.CreateMap <TicketRoleListDto,TicketRole>();

            configuration.CreateMap <TicketRoleEditDto,TicketRole>();
            configuration.CreateMap <TicketRole,TicketRoleEditDto>();

        }
	}
}
